package com.industry.examinaion.dal.dataobject;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.industry.system.dal.dataobject.BaseEntity;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 试卷相关试题表
 * </p>
 *
 * @author nbZhuoZh
 * @since 2025-07-01
 */
@Getter
@Setter
@TableName("examinaion_paper_question")
public class ExaminaionPaperQuestion extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 租户编号
     */
    private String tenantId;

    /**
     * 部门ID；空则为公共客户数据
     */
    private String deptId;

    /**
     * 试卷ID
     */
    private String examinaionPaperId;

    /**
     * 题目ID
     */
    private String examinaionQuestionId;

    /**
     * 分值
     */
    private Integer score;

    /**
     * 题目类型: 1-单选, 2-多选, 3-填空, 4-简答
     */
    private String type;

    /**
     * 题目内容
     */
    private String content;

    /**
     * 选项JSON(单选/多选题使用)
     */
    private String options;

    /**
     * 删除标记
     */
    @TableLogic
    private String delFlag;

    /**
     * 创建部门
     */
    private String createDept;
}
